<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script type="text/javascript">
    // 定义可变参数函数
    function bbb(...arr) {
            // 打印参数
        console.log(arr);
        console.log(arguments);
    }
    bbb(234,345,456,35,456,345,546,345);
</script>
</body>
</html>